package com.ctshk.rpc.air.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "AirPortListReq",description = "机场搜索请求对象")
public class AirPortListReq implements Serializable {

    private static final long serialVersionUID = 8575871273859585637L;
    /**
     * @Enum AirBookingTicketType
     */
    @NotNull(message = "机场名称不能为空")
    @ApiModelProperty(value = "机场名称" ,required = true)
    private String name;
}